package com.chenxin.common.exception.wms;

public class ApiException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private String code;
    /**
     * 错误提示
     */
    private String message;

    private String reqCode;

    public ApiException() {
    }

    public ApiException(String code, String message, String reqCode) {
        this.code = code;
        this.message = message;
        this.reqCode = reqCode;
    }

    public String getCode() {
        return code;
    }

    public String getReqCode() {
        return reqCode;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
